﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;

namespace EzyChoice
{
    [Serializable()]
    public class Goal : EzcItem
    {
        public Goal()
        {
        }

        public override string iName
        {
            get
            {
                return name;
            }

            set
            {
                name = value;
                this.Text = "Goal : " + name ;
            }
        }

        public Goal(string name)
            : base(name)
        {
            this.iName = name;
        }

        protected Goal(SerializationInfo info, StreamingContext context)
            : base (info, context)
        {
            
        }

        public override void GetObjectData(SerializationInfo info, StreamingContext ctxt)
        {
            base.GetObjectData(info, ctxt);
        }
    }
}
